<h1>登陆失败!</h1>
<a href="#" onclick="javascript:history.back(-1);">返回上一步</a>

<a href="#" onclick="javascript:history.go(-1);">返回上一步</a>

<a href="#" onclick="self.location=document.referrer;">返回</a>

<a href="javascript:history.go(-n);">返回上n页</a>